package fr.obsmip.sedoo.client.service;

import java.util.ArrayList;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

import fr.obsmip.sedoo.shared.domain.SearchCriteriaDTO;
import fr.obsmip.sedoo.shared.domain.SummaryDTO;


@RemoteServiceRelativePath("search")
public interface SearchService extends RemoteService {
	
	ArrayList<SummaryDTO> getSummaries(SearchCriteriaDTO criteria, int position, int size, ArrayList<String> displayLanguages) throws Exception;
	int getHits(SearchCriteriaDTO criteria) throws Exception;

}

